package com.qqtech.qquan.mall.dao;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;

import com.qqtech.core.frame.dao.BaseDaoImpl;
import com.qqtech.qquan.mall.model.MallSupplierUser;
import com.qqtech.qquan.mall.model.MallSupplierUserVo;

@Repository
public class MallSupplierUserDaoImpl extends BaseDaoImpl<MallSupplierUser> implements MallSupplierUserDao {
	public static final Logger log = LoggerFactory.getLogger(MallSupplierUserDaoImpl.class);
	
	@Override
	public MallSupplierUserVo getByProductId(Integer productId) {
		return sqlSessionTemplate.selectOne(getSqlName("getByProductId"), productId);
	}
}
